package com.yn.club.auth.domain.convert;

import com.yn.club.auth.domain.entity.AuthPermissionDO;
import com.yn.club.auth.infra.basic.entity.AuthPermission;
import java.util.List;

import org.mapstruct.Mapper;
import com.yn.club.common.util.MapStructUtil;
/**
 * (AuthPermission)DO和Entity转换
 *
 * @author YN
 * @since 2025-01-22 10:07:43
 */
@Mapper(componentModel = "spring", uses = {MapStructUtil.class})
public interface AuthPermissionDomainConverter {

  AuthPermission convertDoToEntity(AuthPermissionDO ojb);
  
  List<AuthPermission> convertDoToEntity(List<AuthPermissionDO> ojbs);
  
  AuthPermissionDO convertEntityToDo(AuthPermission ojb);
  
  List<AuthPermissionDO> convertEntityToDo(List<AuthPermission> ojbs);
  
  
}

